home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Zoom 2
/
Zoom - Release 2 (1996)(Active Software)[!].iso
/
texts
/
dosman121
/
man
/
alias
< prev
next >
Wrap
Text File
|
1995-05-05
|
1KB
|
41 lines
Alias (1.x,2.x,3.x Internal Command)
NAME
Alias - Create short names for longer command
strings.
SYNOPSIS
Alias [alias [string] ]
DESCRIPTION
This command lets you make short names (aliases) for
longer command strings. When a word is typed on the CLI,
AmigaDOS will subsitute a longer string for it. This
longer string may also contain arguments as well as
commands. It can also display a list of alias
assignments.
For an alias to become global it MUST be entered in
the s:shell-startup script. Otherwise, it can only be
used by the shell that created it or through the NewCLI
command called from the same shell it was created.
EXAMPLES
1. To shorten the Delete command to DL
Alias DL Delete
2. To copy df0: to df1: using cop
Alias cop Sys:System/Diskcopy df0: to df1:
3. To copy an entire directory (empty or not)
Alias cp copy [] ALL
(When you type cp directory
it gets expanded to:
copy directory All